
import {defineStore} from "pinia";
import {ref} from "vue";


export const useStoreCounter = defineStore("counter",()=>{

    const count = ref(5);


    function increment(){
        count.value++;
    }


    return {
        count,increment
    }
})